package com.example.apidemo2;

import android.app.Activity;
import android.app.Service;
import android.os.Vibrator;

public class VibratorTest {

	public static void Vibrate(final Activity activity) {
	
		SysActivity.SendPromptMsg("Start vibrate Test...\n");
		
		new Thread()
		{
			public void run()
			{
				Vibrator vib = (Vibrator) activity
						.getSystemService(Service.VIBRATOR_SERVICE);
				
				vib.vibrate(5*1000);
			}
		}.start();

	}

}
